MailPoet\Config\Initializer A

Total Complexity 61
Dependencies 52
Dependents 2
Total lines 554
Lines of code 325
Logical lines of code 183
Comment lines 60
Methods 32
Properties 35

Methods 32

Method Rating Maintainability Complexity Lines of code
init()
S
40 2 79
afterPluginActivation()
S
63 7 9
initialize()
S
49 4 33
maybeRunActivator()
S
57 5 17
setupUpdater()
S
59 4 14
postInitialize()
S
63 3 11
__construct()
S
47 1 36
setupWoocommerceBlocksIntegration()
S
69 3 7
setupWoocommerceTransactionalEmails()
S
67 3 8
runActivator()
S
64 3 10
preInitialize()
S
64 2 11
setupUserLocale()
S
72 2 5
handleRunningMigration()
S
71 2 6
handleFailedInitialization()
S
71 2 6
multisiteDropTables()
S
63 1 11
setupWidget()
S
81 1 3
setupPermanentNotices()
S
82 1 3
runDeactivation()
S
82 1 3
setupEmailEditorIntegrations()
S
78 1 4
setupAutomaticEmails()
S
78 1 4
setupPrivacyPolicy()
S
77 1 4
setupPersonalDataErasers()
S
77 1 4
setupPersonalDataExporters()
S
82 1 3
setupInstaller()
S
72 1 6
setupPages()
S
75 1 4
setupConflictResolver()
S
77 1 4
setupCronTrigger()
S
80 1 3
setupImages()
S
80 1 3
setupShortcodes()
S
82 1 3
setupCapabilities()
S
76 1 4
setupLocalizer()
S
81 1 3
setupDeactivationPoll()
S
75 1 4